<div class="details" ng-init="init()">
  <div class="details-head" style="padding:0.1rem 0 0 0;">
    <div>
      <p ng-if="report_dl.close_status!=='2'">---</p>
      <p ng-if="report_dl.close_status==='2'" ng-bind="report_dl.income_balance" ng-class="{'global_color_red':report_dl.income_balance>=0,'global_color_green':report_dl.income_balance<0}"></p>
      <p class="global_color_gray">执行盈亏</p>
    </div>
    <div>
      <p ng-if="report_dl.close_status!=='2'">---</p>
      <p ng-if="report_dl.close_status==='2'" ng-bind="report_dl.real_allot_balance" ng-class="{'global_color_red':report_dl.real_allot_balance>=0,'global_color_green':report_dl.real_allot_balance<0}"></p>
      <p class="global_color_gray">回报</p>
    </div>
  </div>
  <div class="details-title" style="padding:0 0 0.1rem 0;">

  </div>
  <div style="height: 0.1rem;border-bottom: 1px solid #d0cdc7;"></div>

  <div class="details-float">
    <div class="details-data">
      <span>买入价</span>
      <span ng-bind="report_dl.open_price+' 元/股'"></span>
    </div>
    <div class="details-data">
      <span>数量</span>
      <span ng-bind="report_dl.open_amount+' 股'"></span>
    </div>
    <div class="details-data">
      <span>金额</span>
      <span ng-bind="report_dl.open_balance+' 元'"></span>
    </div>
    <div class="details-data">
      <span>买入时间</span>
      <span ng-bind="report_dl.open_time"></span>
    </div>
    <div class="details-data">
      <span>卖出价</span>
      <span ng-bind="report_dl.close_price+' 元/股'"></span>
    </div>
    <div class="details-data">
      <span>数量</span>
      <span ng-bind="report_dl.close_amount+' 股'"></span>
    </div>
    <div class="details-data">
      <span>金额</span>
      <span ng-bind="report_dl.close_balance+' 元'"></span>
    </div>

    <div class="details-data">
      <span>卖出时间</span>
      <span ng-bind="report_dl.close_time"></span>
    </div>
  </div>

  <div style="height: 0.1rem;border-bottom: 1px solid #d0cdc7;" ng-show="!show_flag"></div>
  <div class="details-float" ng-show="!show_flag" style="border-bottom:none;">

    <div class="details-ce">
      <span><span>策略</span>|<span ng-bind="report_dl.product_name"></span></span>
      <div style="width:100%">
        <span>协议编号：<span   style="color:blue" ui-sref="hezuo-agree({data:report_dl})" ng-bind="report_dl.contract_no" ></span></span>
        <span style="color:red;float:right" ui-sref="hezuo-agree({data:report_dl})">查看协议</span>
      </div>
    </div>
    <div class="details-data">
      <span>策略执行金</span>
      <span ng-bind="report_dl.strategy_name"></span>
    </div>
    <div class="details-data">
      <span>履约保证金</span>
      <span ng-bind="report_dl.deposit_balance+' 元'"></span>
    </div>
    <div class="details-data">
      <span>综合服务费</span>
      <span ng-bind="report_dl.synthesize_fare+' 元'"></span>
    </div>
    <div class="details-data">
      <span>延期费金额</span>
      <span ng-bind="report_dl. total_defer_fare+' 元'"></span>
    </div>
    <div class="details-data">
      <span>延期费单价</span>
      <span ng-bind="report_dl.defer_fare+' 元/次'"></span>
    </div>
    <div class="details-data">
      <span>延期次数</span>
      <span ng-bind="report_dl.defer_count"></span>
    </div>
    <div class="details-data">
      <span>止盈</span>
      <span ng-bind="report_dl.profit_price+' 元/股'"></span>
    </div>
    <div class="details-data">
      <span>止损</span>
      <span ng-bind="report_dl.deficit_price+' 元/股'"></span>
    </div>
    <div class="details-data">
      <span>策略到时</span>
      <span ng-bind="report_dl.force_close_date"></span>
    </div>
  </div>
</div>